import axios from '@/libs/api.request'
export const createUpLoadFiles = (url, data) => { // 上传文件
  return axios.request({
    url: url,
    data: data,
    method: 'post'
  })
}
export const getSign = (data) => { // 上传文件
  return axios.request({
    url: '/api/ac/medical/auditHadoopUploadFilesService/getSign',
    data: data,
    method: 'post'
  })
}
export const getHospitalPageList = (data) => { // 获取医院分页列表
  return axios.request({
    url: '/api/ac/medical/medicalHospitalService/getHospitalPageList',
    data: data,
    method: 'post'
  })
}
export const insertHospital = (data) => { // 新增医院
  return axios.request({
    url: '/api/ac/medical/medicalHospitalService/insertHospital',
    data: data,
    method: 'post'
  })
}
export const updateHospital = (data) => { // 修改医院
  return axios.request({
    url: '/api/ac/medical/medicalHospitalService/updateHospital',
    data: data,
    method: 'post'
  })
}
export const deleteHospital = (data) => { // 删除医院
  return axios.request({
    url: '/api/ac/medical/medicalHospitalService/deleteHospital',
    data: data,
    method: 'post'
  })
}
export const getHospitalList = (data) => { // 获取医院列表
  return axios.request({
    url: '/api/ac/medical/medicalHospitalService/getHospitalList',
    data: data,
    method: 'post'
  })
}
export const selectCityList = (data) => { // 省市
  return axios.request({
    url: '/api/ac/medical/medicalHospitalService/selectCityList',
    data: data,
    method: 'post'
  })
}
export const getHospitalDepartmentPageList = (data) => { // 获取科室分页列表
  return axios.request({
    url: '/api/ac/medical/medicalHospitalDepartmentService/getHospitalDepartmentPageList',
    data: data,
    method: 'post'
  })
}
export const insertHospitalDepartment = (data) => { // 新增科室
  return axios.request({
    url: '/api/ac/medical/medicalHospitalDepartmentService/insertHospitalDepartment',
    data: data,
    method: 'post'
  })
}
export const updateHospitalDepartment = (data) => { // 修改科室
  return axios.request({
    url: '/api/ac/medical/medicalHospitalDepartmentService/updateHospitalDepartment',
    data: data,
    method: 'post'
  })
}

export const deleteHospitalDepartment = (data) => { // 删除科室
  return axios.request({
    url: '/api/ac/medical/medicalHospitalDepartmentService/deleteHospitalDepartment',
    data: data,
    method: 'post'
  })
}
export const getAccompanyingPhysicianPageList = (data) => { // 获取陪诊师分页列表
  return axios.request({
    url: '/api/ac/medical/medicalAccompanyingPhysicianService/getAccompanyingPhysicianPageList',
    data: data,
    method: 'post'
  })
}
export const saveAccompanyingPhysician = (data) => { // 保存陪诊师
  return axios.request({
    url: '/api/ac/medical/medicalAccompanyingPhysicianService/saveAccompanyingPhysician',
    data: data,
    method: 'post'
  })
}
export const deleteAccompanyingPhysician = (data) => { // 删除陪诊师
  return axios.request({
    url: '/api/ac/medical/medicalAccompanyingPhysicianService/deleteAccompanyingPhysician',
    data: data,
    method: 'post'
  })
}
export const updateAccompanyingPhysicianState = (data) => { // 审核陪诊师
  return axios.request({
    url: '/api/ac/medical/medicalAccompanyingPhysicianService/updateAccompanyingPhysicianState',
    data: data,
    method: 'post'
  })
}
export const getMedicalAccompanyingPhysicianCeasePageList = (data) => { // 获取陪诊师暂停接单申请分页列表
  return axios.request({
    url: '/api/ac/medical/medicalAccompanyingPhysicianService/getMedicalAccompanyingPhysicianCeasePageList',
    data: data,
    method: 'post'
  })
}
export const updateAccompanyingPhysicianState23 = (data) => { // 审核陪诊师暂停接单
  return axios.request({
    url: '/api/ac/medical/medicalAccompanyingPhysicianService/updateAccompanyingPhysicianState23',
    data: data,
    method: 'post'
  })
}
export const updateAccompanyingPhysicianState4 = (data) => { // 取消陪诊师暂停接单
  return axios.request({
    url: '/api/ac/medical/medicalAccompanyingPhysicianService/updateAccompanyingPhysicianState4',
    data: data,
    method: 'post'
  })
}
export const getMedicalMemberPageList = (data) => { // 获取会员分页列表
  return axios.request({
    url: '/api/ac/medical/medicalMemberService/getMedicalMemberPageList',
    data: data,
    method: 'post'
  })
}
export const saveMedicalMember = (data) => { // 保存会员
  return axios.request({
    url: '/api/ac/medical/medicalMemberService/saveMedicalMember',
    data: data,
    method: 'post'
  })
}
export const deleteMedicalMember = (data) => { // 删除会员
  return axios.request({
    url: '/api/ac/medical/medicalMemberService/deleteMedicalMember',
    data: data,
    method: 'post'
  })
}
export const addMedicalMemberBalance = (data) => { // 系统充值
  return axios.request({
    url: '/api/ac/medical/medicalMemberService/addMedicalMemberBalance',
    data: data,
    method: 'post'
  })
}
export const insertRotationChart = (data) => { // 添加轮播图
  return axios.request({
    url: '/api/ac/medical/rotationChartService/insertRotationChart',
    data: data,
    method: 'post'
  })
}
export const updateRotationChart = (data) => { // 修改轮播图
  return axios.request({
    url: '/api/ac/medical/rotationChartService/updateRotationChart',
    data: data,
    method: 'post'
  })
}
export const findRotationChartList = (data) => { // 轮播图列表
  return axios.request({
    url: '/api/ac/medical/rotationChartService/findRotationChartList',
    data: data,
    method: 'post'
  })
}
export const deleteRotationChart = (data) => { // 删除轮播图
  return axios.request({
    url: '/api/ac/medical/rotationChartService/deleteRotationChart',
    data: data,
    method: 'post'
  })
}
export const findGiveList = (data) => { // 服务列表
  return axios.request({
    url: '/api/ac/medical/medicalGiveService/findGiveList',
    data: data,
    method: 'post'
  })
}
export const insertGiveService = (data) => { // 添加服务
  return axios.request({
    url: '/api/ac/medical/medicalGiveService/insertGiveService',
    data: data,
    method: 'post'
  })
}
export const updateGiveService = (data) => { // 修改服务
  return axios.request({
    url: '/api/ac/medical/medicalGiveService/updateGiveService',
    data: data,
    method: 'post'
  })
}
export const deleteGiveService = (data) => { // 删除服务
  return axios.request({
    url: '/api/ac/medical/medicalGiveService/deleteGiveService',
    data: data,
    method: 'post'
  })
}
export const selectGiveServiceFieldList = (data) => { // 活动字段列表
  return axios.request({
    url: '/api/ac/medical/medicalGiveService/selectGiveServiceFieldList',
    data: data,
    method: 'post'
  })
}
export const findOrderGoodsList = (data) => { // 订单列表
  return axios.request({
    url: '/api/ac/medical/medicalOrderGoodsService/findOrderGoodsList',
    data: data,
    method: 'post'
  })
}
export const deleteOrderGoodsById = (data) => { // 删除订单
  return axios.request({
    url: '/api/ac/medical/medicalOrderGoodsService/deleteOrderGoodsById',
    data: data,
    method: 'post'
  })
}
